package com.ziyun.pop.modules.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 订单支付对账表
 * 
 * @author zh
 * @email 296588519@qq.com
 * @date 2018-10-17 16:09:06
 */
@TableName("order_payment")
public class OrderPaymentEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 订单支付明细ID
	 */
	@TableId(type = IdType.AUTO)
	private Integer orderPaymentId;
	/**
	 * 订单ID
	 */
	private String orderId;
	/**
	 * 支付单号
	 */
	private String paymentId;
	/**
	 * 支付金额
	 */
	private BigDecimal money;

	/**
	 * 设置：订单支付明细ID
	 */
	public void setOrderPaymentId(Integer orderPaymentId) {
		this.orderPaymentId = orderPaymentId;
	}
	/**
	 * 获取：订单支付明细ID
	 */
	public Integer getOrderPaymentId() {
		return orderPaymentId;
	}
	/**
	 * 设置：订单ID
	 */
	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	/**
	 * 获取：订单ID
	 */
	public String getOrderId() {
		return orderId;
	}
	/**
	 * 设置：支付单号
	 */
	public void setPaymentId(String paymentId) {
		this.paymentId = paymentId;
	}
	/**
	 * 获取：支付单号
	 */
	public String getPaymentId() {
		return paymentId;
	}
	/**
	 * 设置：支付金额
	 */
	public void setMoney(BigDecimal money) {
		this.money = money;
	}
	/**
	 * 获取：支付金额
	 */
	public BigDecimal getMoney() {
		return money;
	}
}
